package com.sixstones.fragment.service;

import java.util.List;

import com.sixstones.fragment.entity.CatagoryEntity;
import com.sixstones.fragment.vo.CatagoryInfo;
import com.sixstones.fragment.vo.FragmentException;

public interface CatagoryService {

	int addCatagory(String name, String desc) throws FragmentException;

	List<CatagoryEntity> queryAll();

	CatagoryInfo getCatagoryInfo(int CatagoryId,boolean queryFragments);
}
